package com.woniuxy.coachmodel.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class UpdateCoachPhoneForm {
    @NotBlank(message = "电话不能为空")
    @Pattern(regexp = "1[3-9]\\d{9}", message = "电话格式不正确")
    private String newPhone;
}
